﻿using System.Collections.Generic;
using eCommerce.db.DALRespository;
using eCommerce.db.DataRespository;

namespace eCommerce.db.BORespository
{
    public class PropertyValueBo
    {
        public static List<PropertyValueEntity> GetListByPropertyId(int propertyId)
        {
            return PropertyValueDal.GetListByPropertyId(propertyId);
        }

        public static List<PropertyValueEntity> GetAllListByPropertyId(int propertyId)
        {
            return PropertyValueDal.GetAllListByPropertyId(propertyId);
        }

        public static void Create(PropertyValueEntity o)
        {
            PropertyValueDal.Create(o);
        }

        public static void Delete(int propertyId)
        {
            PropertyValueDal.Delete(propertyId);
        }
    }
}
